#ifndef PlaceBASE_H
#define PlaceBASE_H

#include <list>
#include <algorithm>
#include <vector>
#include "node.h"
#include "circuit.h"
#include <fstream>
#include <math.h>


using namespace std;

struct region{
	int x0,x1,y0,y1;
	vector<Signal*> signals;
	int sw;
	int ff;
};

class Place{
	public:
		Place(Circuit *C): Ci(C) {}
		~Place(){}
		void partition(char *filename, int n, int m);
		
		int x0,x1,y0,y1;
		vector<region> regs;
		
		
	protected:
		Circuit *Ci;
};

#endif


